




#ifndef _VIN_DEFINES_H_
#define _VIN_DEFINES_H_

typedef unsigned long   UInt64;
typedef unsigned int    UInt32;
typedef unsigned short  UInt16;
typedef unsigned char   UInt8;

typedef long    Int64;
typedef int     Int32;
typedef short   Int16;
typedef char    Int8;


enum errorCodes {
    kDecoderNoError             =     0,
    kDecoderErrorNoMemory       =  -101,
    kDecoderErrorBufferSmall    =  -102
};


typedef struct {
    UInt32          decodedFrameLength;
    UInt32          decodedFrameWidth;
    UInt32          decodedFrameHeight;
    UInt32          decodedFrameNumber;
    void*           decodedFrame;
} DecodedFrame;

typedef struct {
    UInt32          bufferCount;
    DecodedFrame*   frameData;
} DecodedFrameList;


#endif